import type { MarkdownRenderer } from 'vitepress'
import mdContainer from 'markdown-it-container'
import createDemoContainer from './demo'
import tooltip from './tooltip'
import footer from './footer'

export default (md: MarkdownRenderer) => {
  md.use(mdContainer, 'demo', createDemoContainer())
  md.use(tooltip)
  md.use(footer)
}
